<?php
	require_once(dirname(__FILE__)."/../include/admin/blog_edit_data.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
<head>
	<title>编辑文章类别</title>
	<style type="text/css" >
		td{ padding: 5px 5px 5px 10px;}
		th{ padding: 5px 5px 5px 10px; text-align: left}
	</style>
</head>
<body>
	<div style="padding-left:30px">
		<h1>编辑文章类别:</h1>
		<table border="1px">
			<tr>
				<th>
					算法名称
				</th>
				<th>
					操作
				</th>
			</tr>
			<?php foreach($ClassArray as $Item){ ?>
			<form action="#" method="post">
				<input type="hidden" name="id" value="<?php echo $Item->id; ?>"/>
				<tr>
					<td style="min-width:300px">
						<?php echo $Item->name."(".$Item->cnt.")"; ?>
					</td>
					<td>
						<input type="submit" name="algo_dele" value="删除" />
					</td>
				</tr>
			</form>
			<?php }?>
		</table>
	</div>
</body>
</html>